Designing Solutions:
(H2.2, H6.1, H6.2, H7.2)

  • A Data Flow Diagram (DFD) for searching for songs in the online store

DFD.JPG





  • An Entity Related Diagram (ERD) (This can be imported straight from Microsoft Access)

ERD_Edit.jpg




  • A description of at LEAST five queries used in the database (Three of these queries must involve relationships between tables in the database)

1. Query 1 (Simple Query using 'Query Wizard'- No relationship)
From the "Album" Table, list all Artist Names, TrackID and Album Release Year

Result:
Music_Online_Query_01.jpg


2. Query 2 (Relationship between three tables)
List the Artist Name, Album Title, Release Year and Record Company Name of all those albums whose GenreID= 1
Query:
Music_Online_Query_02_a.jpg

Result:
Music_Online_Query_02_b.jpg


3. Query 3 (Reationship between three tables)
List the GenreID, Artist Name and Album Release Year of all the albums with GenreName="Pop"

Query:
Music_Online_Query_03_a.jpg

Result:
Music_Online_Query_03_b.jpg


4. Query 4 (Relationship between three tables)
List the Artist Name, Album Title and the Record Company Name of all albums whose RecordLabelID= 303

Query:
Music_Online_Query_04_a.jpg

Result:
Music_Online_Query_04_b.jpg


5. Query 5 (Relationshiop between four tables)
List the Album Title, Artist Name and Record Company Name of all Albums whose Tracks=12

Query:
Music_Online_Query_05_a.jpg

Results:
Music_Online_Query_05_b.jpg